package com.eckey.lab.consumer.bean;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * user
 * @author 
 */
@Data
public class UserVO implements Serializable {

    private Integer id;

    @NotNull(message = "userName不能为空")
    private String userName;

    @NotNull(message = "age不能为空")
    private Integer age;

    private String nickName;

    @NotNull(message = "gender不能为空")
    private String gender;

    private Date createTime;

    private Date modifyTime;

    private static final long serialVersionUID = 1L;
}